package com.xszx.knowledge.service;

import com.xszx.knowledge.dto.UserDTO;
import com.xszx.knowledge.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xszx.knowledge.util.Result;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author wencai
 * @since 2023/04/25 21:00
 */
public interface UserService extends IService<User> {
  abstract User getUserByLoginName(String loginName);
  public Result saveUser(User user);
  public User login(UserDTO userDTO);
}
